package com.kb.design.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * 设计需求表(DesignRequirement)实体类
 *
 * @author makejava
 * @since 2023-11-13 18:25:54
 */
@Data
@TableName("design_requirement")
public class DesignRequirement implements Serializable {
    private static final long serialVersionUID = -89597330500328505L;
    /**
     * 自增主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 项目id
     */
    private Long projectId;
    /**
     * 设计状态
     */
    private String designStatus;
    /**
     * 项目名称
     */
    private String projectName;
    /**
     * 设计编号
     */
//    private String designNumber;

    /**
     * 创建人
     */
    private String createBy;
    private String createByName;
    /**
     * 更新时间
     */

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 更新人
     */
    private String updateBy;
    /**
     * remark
     */
    private String remark;
    /**
     * 节点负责人
     */
    private String nodeResponsiblePersonId;
    private String nodeResponsiblePersonName;
    private Integer reviewType;


}

